﻿using Microsoft.EntityFrameworkCore;
using WebAPI中介者模式示例MediatR_EFCroe_Thransaction.Models;

namespace WebAPI中介者模式示例MediatR_EFCroe_Thransaction.DAL
{
    public class AppDbContext : DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }

        public DbSet<Order> Orders { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<Shipment> Shipments { get; set; }
    }
}
